package com.woniu.serverdriveruser;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.woniu.serverdriveruser.mapper")
@EnableFeignClients(basePackages = {"com.woniu"})
@EnableDiscoveryClient
//@ComponentScan(basePackages = {"com.woniu"})
public class ServerDriverUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerDriverUserApplication.class, args);
    }

}
